package com.pactera.madp.cp.api.entity.daily;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pactera.madp.cp.api.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@TableName("cp_work_daily_send")
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@ApiModel(value = "数据日报发送内容表")
public class WorkDailySendEntity extends BaseEntity<WorkDailySendEntity> {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "企业id")
    private Integer corpId;

    @ApiModelProperty(value = "员工id列表")
    private String employeeIds;

    @ApiModelProperty(value = "用户id列表")
    private String userIds;

    @ApiModelProperty(value = "部门id列表")
    private String deptIds;

    @ApiModelProperty(value = "客户变化数")
    private boolean contactChangeContact;

    @ApiModelProperty(value = "客户总数")
    private boolean contactTotalContact;

    @ApiModelProperty(value = "客户流失数")
    private boolean contactLossContact;

    @ApiModelProperty(value = "客户净增数")
    private boolean contactRealAddContact;

    @ApiModelProperty(value = "客群变化数")
    private boolean changeRoom;

    @ApiModelProperty(value = "客群总数")
    private boolean totalRoom;

    @ApiModelProperty(value = "客户变化数")
    private boolean changeContact;

    @ApiModelProperty(value = "客户总数")
    private boolean totalContact;

    @ApiModelProperty(value = "客户净增数")
    private boolean RealAddContact;

    @ApiModelProperty(value = "客户流失数")
    private boolean lossContact;

    @ApiModelProperty(value = "日报")
    private boolean daily;

    @ApiModelProperty(value = "周报")
    private boolean weekly;

    @ApiModelProperty(value = "月报")
    private boolean monthly;

    @ApiModelProperty(value = "是否订阅")
    private boolean isOrder;

    public WorkDailySendEntity(boolean contactChangeContact, boolean contactTotalContact, boolean contactLossContact, boolean contactRealAddContact, boolean changeRoom, boolean totalRoom, boolean changeContact, boolean totalContact, boolean realAddContact, boolean lossContact, boolean daily, boolean weekly, boolean monthly, boolean isOrder) {
        this.contactChangeContact = contactChangeContact;
        this.contactTotalContact = contactTotalContact;
        this.contactLossContact = contactLossContact;
        this.contactRealAddContact = contactRealAddContact;
        this.changeRoom = changeRoom;
        this.totalRoom = totalRoom;
        this.changeContact = changeContact;
        this.totalContact = totalContact;
        RealAddContact = realAddContact;
        this.lossContact = lossContact;
        this.daily = daily;
        this.weekly = weekly;
        this.monthly = monthly;
        this.isOrder = isOrder;
    }
}
